﻿<%@ Control Language="C#" Inherits="Web.Control.WWW.Wiki.ContributionList" %>
<asp:Literal ID="lTages" Text="20" runat="server" Visible="false"/>
<asp:Literal ID="lLCount" Text="20" runat="server" Visible="false"/>
<asp:Literal ID="lDOrder" Text="[sl]" runat="server" Visible="false"/>
<asp:Literal ID="lDLearn" Text="english" runat="server" Visible="false"/>
<asp:Literal ID="lDBaseL" Text="chinese" runat="server" Visible="false"/>
<div class="common">
	<div id="new_body">
		<div id="body_900">
			<div id="body_left"></div>
			<div id="body_main">
				<div class="submenuN">
					<div class="submenuN_position">
						<div class="submenuN_title">
							<div class="submenuN_Btitle">
								<h1><a href="/knowledge/learn-<%=Learn%>-<%=BaseL%>.htm"><%=GetText("C0105",new string[]{GetLanguageText(Learn)})%>, <%=GetText("C2019",new string[]{GetLanguageText(BaseL)})%></a></h1>
							</div>
							<div class="submenuN_button"><%if (((Lx.Web.Common.UI.TDTPageBase)Page).IsAffirm){%><a href="/knowledge/edit.htm" class="Naddbtn btnspec" style="text-decoration:none"><%}else{ %><a href="#" onclick="NotAffirm()" class="Naddbtn btnspec" style="text-decoration:none"><%} %><span><%=GetText("WK004")%></span></a></div>
						</div>
					</div>
				</div>
				<div class="Center9001n">
					<div class="Center9001Right">
						<div class="Center9001Content">
							<div class="knowedge_area">
								<div class="">
									<div class="floatl"><a href="/knowledge/wikilist-<%=Learn%>-<%=BaseL%>-1-[sl].htm" class="wikibtng" style="width: 180px; text-decoration:none" title="<%=GetText("WK137",new string[]{GetLanguageText(Learn),GetLanguageText(BaseL)})%>"><span><div style="font-size: 24px; font-weight: bold"><%=GetText("WK053")%></div><div><%=GetText("WK052")%></div></span></a></div>
									<div class="floatl" style="margin-left: 10px"><a href="/knowledge/contributionlist-<%=Learn%>-<%=BaseL%>-1-[sl].htm" class="contributionbtn2" style="width: 180px; text-decoration:none" title="<%=GetText("WK138",new string[]{GetLanguageText(Learn),GetLanguageText(BaseL)})%>"><span><div style="font-size: 24px; font-weight: bold"><%=GetText("WK054")%></div><div><%=GetText("WK055")%></div></span></a></div>
									<div class="clear"></div>
								</div>
								<div class="margin5" style="text-align:right;"><%=RecordCount%> <%=GetText("WK017")%>: 
								<%if(Order.ToLower()=="[datetime]") {%>
									<strong><%=GetText("C2002")%></strong>
									<%}else{ %>
									<a href="/knowledge/contributionlist-<%=Learn%>-<%=BaseL%>-1-[datetime].htm"><%=GetText("C2002")%></a>
									<%} %>
								|
								 <%if(Order.ToLower()=="[sl]") {%>
									<strong><%=GetText("C2011")%></strong>
									<%}else{ %>
									<a href="/knowledge/contributionlist-<%=Learn%>-<%=BaseL%>-1-[sl].htm"><%=GetText("C2011")%></a>
									<%} %>
								 |
								 <%if(Order.ToLower()=="[rate]") {%>
									<strong><%=GetText("WK015")%></strong>
									<%}else{ %>
									<a href="/knowledge/contributionlist-<%=Learn%>-<%=BaseL%>-1-[rate].htm"><%=GetText("WK015")%></a>
									<%} %>
								  </div>
								<div class="margin5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0" style="background-color:#eee">
								<tr>
									<td style="padding:5px 0px 5px 5px"><strong><%=GetText("WK050",new string[]{GetLanguageText(Learn)})%> <%=GetText("C2019",new string[]{GetLanguageText(BaseL)})%></strong></td>
									<td style="padding:5px 0px 5px 0px" width="80" align="center"><strong><%=GetText("WK019")%></strong></td>
									<td style="padding:5px 0px 5px 0px" width="80" align="center"><strong><%=GetText("WK020")%></strong></td>
								</tr>
								</table>
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
										  <asp:Repeater ID="rptLB" runat="server">
											<ItemTemplate>
												<tr>
													<td style="border-bottom: 1px #eee solid; padding: 5px 0px 5px 5px">
														<span class="text14"><a href='/knowledge/contribution-<%#HttpUtility.UrlEncode(Eval("Name").ToString())%>.htm'><%#Lx.Web.Common.UI.Globals.GetString(Eval("Title").ToString(),80)%></a></span>
														<span class="grey11"><%#GetText("C0090",new string[]{"<a href='/"+Eval("Creator")+".htm'>"+Eval("NickName")+"</a>"})%></span>
													</td>
													<td class="afk_table_list" width="80" align="center"><%#Eval("Views") %></td>
													<td class="afk_table_list" width="80" align="center"><%#Eval("Rate") %></td>
												</tr>
											</ItemTemplate>
										</asp:Repeater>
									<%if (rptLB.Items.Count == 0){%>
									<tr>
										<td><%=GetText("WK005")%></td>
									</tr>
									<%} %>
									</table>
								</div>
								<div class="page_num">
									<%=CreatePageNav(RecordCount, int.Parse(lLCount.Text), PageIndex, 
									"",string.Format("<span class='page_none grey10'><a href='/knowledge/contributionlist-{0}-{1}-$I$-{2}.htm'>{3}</a></span>&nbsp;",Learn,BaseL,Order,HttpUtility.UrlEncode(GetText("..."))),
									"",string.Format("<span class='page_none grey10'><a href='/knowledge/contributionlist-{0}-{1}-$I$-{2}.htm'>{3}</a></span>&nbsp;",Learn,BaseL,Order,HttpUtility.UrlEncode(GetText("..."))),
									string.Format("<span class='page_select'>{0}</span>&nbsp;",PageIndex),
									string.Format("<span class='page_none grey10'><a href='/knowledge/contributionlist-{0}-{1}-$I$-{2}.htm'>$I$</a></span>&nbsp;",Learn,BaseL,Order))%>
								</div>
							</div>
						</div>
					</div>
					<div class="Center9001Left">
						<div class="right_layerA">
							<div class="layer_contentA"><h4><%=GetText("WK010")%></h4>
								<div class="layer_contentA5">
									<asp:Repeater ID="rptTags" runat="server">
									<ItemTemplate>
									<div class="margin10">
										<div class="pic50 floatl wid65"><a class="photo_50" href="/<%#Eval("Username") %>.htm" title="<%#Eval("NickName") %>"><%#Eval("Image").ToString() == "" ? "<img src=\"/Images/No_pic.gif\" />" : Eval("Image", "<img src=\"{0}\" />").ToString()%></a></div>
										<div class="floatr wid120"><a href="/<%#Eval("Username") %>.htm"><%#Eval("NickName") %></a><br /><%#Eval("ConCreatores") %> <%=GetText("WK100")%></div>
										<div class="clear"></div>
									</div>
									</ItemTemplate>
									</asp:Repeater>
									<%if (rptTags.Items.Count == 0){%>
									<span class="grey12"><%=GetText("WK005")%></span>
									<%} %>
								<%if (rptTags.Items.Count > int.Parse(lLCount.Text)){%>
								<p align="right"><a href="/knowledge/contributionlist.htm"><%=GetText("C0040")%></a></p>
								<%}%>
								</div>
							</div>
						</div>
						<div class="right_layerA">
							<div class="layer_contentA"><img src="/Images/icon_tips.gif" align="absmiddle" /> <strong><a href="/knowledge/wiki-How+to+edit+the+italki+wiki1.htm">How do I edit italki wiki?</a></strong>
							</div>
						</div>
					</div>
					<div class="clear"></div>
					<div class="margin10" style="text-align:center">
					<script type="text/javascript">
					  GA_googleFillSlot("all_pages_bottom728x90");
					</script>
					</div>
				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F"></div>
	</div>
</div>